#!/bin/bash

for TOOL in ar as addr2line c++filt cpp dwp elfedit gcc g++ gcc-ar gcc-nm gcc-ranlib gcov gprof ld nm objcopy objdump readelf size strings strip  
do  
    if [ -f "arm-linux-gnueabi-$TOOL" ]; then
        if [ ! -f "arm-linux-$TOOL" ]; then
            sudo ln -s arm-linux-gnueabi-$TOOL arm-linux-$TOOL
        fi
    fi
done

